Prefix and postfix notation have three common features 前綴和后綴表示法有三項公共特征:
In postfix notation , the operator comes after its operands 在后綴表示法中,操作符位于操作數(shù)后面。
Postfix notation is also known as 后綴表示法也稱
Write the following in normal non - postfix notation , and simplify them if you can 以通常(不帶后綴)的表示法編寫以下代碼,如果可以,則簡化它們:
It does not convert infix expressions to postfix notation ; rather , it evaluates the infix expression directly 不是把中綴表達(dá)式轉(zhuǎn)換為后綴表示法;恰恰相反,它對中綴表達(dá)式直接求值。
In postfix notation , the need for parentheses is eliminated and the priority of the operators is no longer relevant 在后綴表達(dá)式中,不需要括號,而且操作符的優(yōu)先級也不再起作用了。
Infix notation is a common way of writing expressions , while prefix and postfix notations are primarily used in computer science 中綴表示法是書寫表達(dá)式的常見方式,而前綴和后綴表示法主要用于計算機(jī)科學(xué)領(lǐng)域。
To convert an expression in an infix expression to its equivalent in postfix notation , we must know the precedence and associativity of operators 要把表達(dá)式從中綴表達(dá)式的形式轉(zhuǎn)換成用后綴表示法表示的等價表達(dá)式,必須了解操作符的優(yōu)先級和結(jié)合性。
英文解釋
a parenthesis-free notation for forming mathematical expressions in which each operator follows its operands 同義詞:suffix notation, reverse Polish notation,